x86/fpu: add mask parameter to xsave and xrstor
authorWei Huang <wei.huang2@amd.com>
Mon, 9 May 2011 10:38:55 +0000 (11:38 +0100)
committerWei Huang <wei.huang2@amd.com>
Mon, 9 May 2011 10:38:55 +0000 (11:38 +0100)
commit0217c28adbb1656e72ce68239eb6092fdc7cde0c
tree7ca88d8c8022cdcbeeae5c42a599fe1612400779
parent3eb0faa4f80653d56e0e74d68872f6d73de23937
x86/fpu: add mask parameter to xsave and xrstor

Xen currently sets mask bits of xsave() and xrstor() to all 1's. This
patch adds a mask option to xsave() and xrstor().

Signed-off-by: Wei Huang <wei.huang2@amd.com>
xen/arch/x86/i387.c
xen/arch/x86/xstate.c
xen/include/asm-x86/xstate.h